Revert "Merge pull request #70 from macbre/no-post-onload-wait"

This reverts commit cfea20a9125f1d16f2738aea2130c86e36a2354b, reversing
changes made to 1545be31a58f798e579c9d39fcaf8820b32e5a48.