HTML5 Vibrate

// vibrate for one second
navigator.vibrate(1000);;