JS based snake, to be given a jQuery UI.