fixing misc capitalization and d3 small issues

Thanks @jfirebaugh for the feedback