Put javascript references in the login page