Can fetch list of ports from www interface.

So, I am learning Javascript. I can ask a local WWW service to
enumerate the serial ports, and popualte a drop-down menu with those
options.

However, event handlers are firing multiple times and/or in the wrong
places, so this is not ideal.