Annoying... $('<div>',{'class':'name'})

Annoying... $('<div>',{'class':'name'})

What about adding an alias to map cls to class when constructing fragments with $(html, object). It is starting to strongly annoy me that every single time I want to add classes, I have to quote the 'class'. Can't fight ECMAscript, but I see no reason why we cant do a {class:'name'}.

Am I alone?

(And I really DO love the $(html, object), in case you suggest to not use it. It just feels retarded to write 'class'.)

-- Aivo --