Fix motionSensorCheck fn args, fix date toISOString call