fix bug with object property 'class' for ie8