Snake game implemented in HTML5/JavaScript