Cordova Plugin Beginner's Example