JavaScript projects, Snake 2.0 and Traffic lights