add socket.io to page