Fix issue syncing CSS classes in IE9/10