Yet another implementation of the snake game, in Javascript with JQuery