Removing spinner code causing problems with IE9