fixing javascript for contact page