switched crypto to crypto-js from google. login.html form loads cryptojs directly from google codebase in order to hash passwords before sending them to the server