adds loadingTemplate, cleans up some unnecessary code with isotope