adding the code to link hammer.js to backbone