Update d3Layer.js

Use dojo.hitch to make sure the _project function has a reference to the 'this' context.