Accelerometer docs change

Updated `eg/accelerometer.js` file, as per https://github.com/rwaldron/johnny-five/pull/262