Snake game made with javascript