Fix IE8 bug: 'class' has to be quoted

'class' is considered as reserved keyword in IE8 and has to be quoted.