socket.io moved to the footer