confine home page js to home page
add contact page functionality