pub fn start() -> Result<(), JsValue>
Starts the accelerometer.
Returns JsValue if the underlying JavaScript call fails or the sensor is unavailable.
JsValue
start()?;