trigger(): Use "new Event(...)" instead of the deprecated el.createEvent(...).