Explicitly handle .js files as text so that JS attachment can be previewed.