move the css link into the head where it belongs

Also moved socket.io.js, d3, and nvd3 to the head so that the load order is guaranteed. @jgunderson this should fix your chart issues.