A polyfill for the mozVibrate API of Firefox OS