fix: closure must be called with jQuery 

not window.jQuery