Moved rootURL to window.Discourse.rootURL variable