bugfix/#23-runAfterLoad-only-works-if-called-before-page-loaded
develop
Previous if statement did not work because it still was found in DOM so it only was pushed into the array but not executed.
(cherry picked from commit 8460c862e97866e43e06e7624b2ce4f38d0ecd0d)