Changes to support vibrate related changes in Cordova.