Moves UI code into snakeUI.js instead of littering html file w/ javascript.