This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes #3356.