Playing around with JavaScript accelerometer.