From: http://mbostock.github.io/d3/talk/20111018/collision.html
Migration from d3.js 2.10 to recent 3.3 based upon: https://github.com/mbostock/d3/wiki/Upgrading-to-3.0
Essentially there is no more d3.svg.mouse - do:
p1 = d3.mouse(this)
CoffeeScript compiled:
coffee -c collision.coffee > collision.js