Update pebble.js

converting to number to make sure it is a number before tofixed applied