Corrected JavaScript error in < IE8 with the need to quote "class".

Hey Mark, nice plugin. Thought I'd just add in a quick commit to fix an error I found in IE 8 and below. 

'class' is a reserved name. Minifying it autoquotes it, but I thought you'd like to get the correction in the raw js file too.