Firefox OS app to graph output of Accelerometer