Passing data from InAppBrowser to Cordova (Phonegap)