callback instead of custom event (for ie)