Fix issue where pretotype would not run correctly in browser.