Set content type to text/javascript.

Otherwise Chrome doesn't load socket.js and says:
"Resource interpreted as script but transferred with MIME type text/plain."
Merge pull request #6 from jcbrand/master

Set socket.js content type to text/javascript.