A JavaScript implementation of Snake in the browser