move the css link into the head where it belongs
moved scripts to head to guarantee load order
Merge pull request #1987 from lynnaloo/fix_d3_css

move the css link into the head where it belongs