remove references to jQuery inside $ closure