Avoir creating jQuery object

Their is a lot of the "same" jQuery object created. Specially $(windows). We can avoid that by creating it once and save it in a variable.

In my test it improve the performance a lot.