use head.js to load chart.js, socket.io client script.