jQuery plugin for doing Oauth2 login in a Cordova App