fix js bug typo with navigator.vibrate