JavaScript project for playing with digital logic