Performed jshint on a few files. Also upgraded d3.v2 to d3.v3 for NVD3 charts (needed by pie chart)