Update js/chromeLogin.js

Changed window to top