Error: expected identifier, string or number. Thanks IE, that’s awfully helpful.
class is a reserved word in Internet Explorer. All versions. All trouble. All the time. The fun part is I knew better than to use class as a variable, rather, I was just using it with jQuery’s attr method. IE says no to $("p").attr({ class : "wheee" });. Probably one of several reasons jQuery includes class specific methods like addClass and removeClass.