Added triggering of custom event on table load