code: function onDeviceMotion(e) {
              // Accelerometer information
              api.accelerationX = e.accelerationIncludingGravity.x;
              api.accelerationY = e.accelerationIncludingGravity.y;
              api.accelerationZ = e.accelerationIncludingGravity.z;
          }
docs: event management (Accelerometer)
  http://www.mobilexweb.com/samples/ball.html
  http://www.mobilexweb.com/blog/safari-ios-accelerometer-websockets-html5
  @ignore