Revert "force script loading before body rendering"

This reverts commit 9e3e8cc2b019bbd37483e9ded739d992f00b43d4.