Fixes #3, also add Cordova 2.3.0 support