Fleshed out queryForDevice, display results in <ol class=deviceList>