Moved JavaScript code to separate file. Changed formatting. Limited
players to not be able to leave the initial game area.