change socket.io to use cdnjs
move <%- assets.js() %> inside <head>