Wrapper around the setter for jQuery.attr to fix a display bug in Internet Explorer