JavaScript program to control a traffic light USB-controlled relays