If you use document.querySelector attribute lookup is 3 times slower btw: http://jsperf.com/attribute-vs-class-vs-id-query-selector

At some point jquery should support that :)