Added phonegap vibrate function