Changes to support vibrate related changes in Cordova.

Changes to support vibrate related changes in Cordova.