Javascript to simulate the changing of traffic lights.  CSS to rotate the arrow and traffic light