Refactored a lot of the client side JS files so that all of the socket.io stuff is in a single file. This keeps the code more organized and easier to read.