Jquery patch

This fix wrap all the js code into a anonymus self-invoking function.

It also aliases jQuery to be $ in the local scope.

It also creates version 1.3