Updated to current Cordova API
Changed JS Example, credits
Changed to current Cordova API