Changed app from d3 to jquery

Changed the entire app over from d3 to jquery. 
The new solution is much more modular, and easier to extend.