Update pebble.js

battery code added