Sorry, I realize now that my comment was a bit confusing. I was really suggesting that if you wanted to keep these globally available you should do something like demo.uioBuilder and demo.defaultLanguage. Also, as I mentioned elsewhere in my pull request you should avoid using globals defined in the demo js in the pmt.js file. This puts an odd dependency on the demo. Rather if you need something from the integration (in this case the demo implementation), you should take this in as an option to the component.