Updates to keycloak.js, including adding support for Cordova