Playing with a mishmash of C and JavaScript in my Pebble dev environment