remove class only  when it has for propertychange event handler

avoid trigger event propertychange again when remove class in IE8 to prevent stack overflow