Adding polling for devices that don't correctly trigger the readystatechange event