tmp fix for Cordova 2.3+