Snake game using HTML5 and JavaScript