fixed typo in js loading of files