javascript DLDs and 7 segment display example