starting basic integration with d3
mongo no longer stores html content; also simplifying script structure