A sample of how to use Pebble watch's built-in accelerometer using PebbleJS library