Fix Javascript FileType settings