Switch to synchronous script loading
fe123ad
This removes the old code for asyncronously loading scripts during HTML parsing and then executing them afterward. Fixes #3356.