added reference to haptics.js