jQuery is undefined.

$ has been passed to the closure so we use tha instead of jQuery.