HTML5 variation of the classic snake game