Related resources for login page in javascript