Bug fix to work with Cordova 2.9 requirements