Added some tests and some javascript, indcluding the d3 library