Fixes grunt umd task.
Also cleans up some jshint errors and removes the less task as we have no less
Add d3 to global vars