fix minor typos in loader files

JavaScrtipt → JavaScript