Updated loadDisplay to not require JQuery