Fixing WDBS compatibility with IE5. Fixes issue 7938