modified scaffolded injection logic in hammers.js.coffee