Snake game using HTML5 canvas and jQuery