putting javascripts in scripts folder; creating index.html; adding d3.js