Minor naming fix in login.js