formated loader.js and UIController.js