Removed "navigator.vibrate =..." line to test why check fails.