Changed the fix for Linux and Windows to be an optional callback rather than a static timeout. Also removed the x index in the for in loop as it was not needed. Replaced x with the existing id variable for the default radio option.