Added cordova support to keycloak.js