Fixed out of order event firing for loading.

When optimized, the modules would complete loading before the event
listener was assigned to respond to that event.  Now, it should respond
irrespective of when they complete, as intended.