Yes, thank you for moving this down.  I note that, this is still in the Application ctor.  Much initialization happens in Application::init().  Perhaps loadScripts() could be moved to the init()?  Dunno if it can or should be, just thinking out loud.