HTML5 implementation of the popular snake game