Fixed JavaScript warning on the login page.