Simple plugin for cordova and phonegap