documentcloud/backbone — comment on commit 1c053d9f71a822a83214918b8bda9b71a84b0b21
File: backbone.js line 982
By tomasztunik:

here you are creating jQuery object twice when you create it from the string

this.$el = $(element);
this.el = $(element)[0];

should do as it will always first wrap normal dom in jQuery, convert string to jquery wrapped DOM etc and then just assign the DOM node to this.el + we dont need to do the isString check which is done in jQuery anyways