semicolons after function expressions in snake.js; changed to using styles for alignment