Add the D3.js library
Refactor js into separate files