Execute only on a certain page

The is_page function accepts any of the page ID, the page title or the page slug. It looks like you’re trying to give it an URL fragment instead.

You say that ‘contact-us’ is the page slug for your contact page, so try

if (is_page('contact-us')) {

without the forward slashes, i.e. passing the page slug, instead.