add .js to list of loadable filetypes