check to see if jQuery is defined before asking for deferred 

minor change.
I used http://jscompress.com/ to rebuild the minified file.