support filetype:json and filetype:js