Wait to load RUIs until the window finishes loading.
Use jQuery.getJSON instead of .get().