going through d3 tutorial using coffeescript