Updated to user Cordova 3.x.x API's