work on login page javascript and background