Load scripts synchronously

External scripts were being asynchronously loaded as part of the new page being loaded. This could break inlined scripts that depended on such scripts.