support more js and text file