Added ability to load array for filenames for loadCSS and loadJS functions