add contact functionality and confine home page js