Testing why/when navigator.accelerometer is null