Fixes #3, also adds Cordova 2.3.0 support