Implementation of the Pebble SDK for Cordova.