first line of d3-js script added
Moved js into an index.js file
Some notes