Update pebble.js

Sorted issue with trend and direction wrong way around trend value should be direction and direction should be trend