first working version of d3 rendering through browser via mongo