Shea's Version for Cordova