Renaming per http://developer.getpebble.com/docs/pebblejs/
Slowly adding pebble specific code