Change class key to 'class' to avoid IE8/9 error (reserved word)