Migrated majority of the JS code in play.ejs to play.js. Cleaned up some code that jshint was yelling about. Edited displayMessage() for the chat.