IE8 : 'class' argument correction in JS.