Jslint.
Use namespace for login/register script.