Added new version compatible with Cordova 2.6