Snake game using jQuery