The problem with rootURL is that it is needed before any JavaScript files can be loaded: It's used for setting the base tag and the base tag is used by the browser to resolve the relative URL of `app.js`.