adding the 'u' variable to undefined and cleaning up the loading of the app