JavaScript Traffic Light

See Javascript compact version