Bugfix for events scraper
Using $.Deferred to do async libraries loading