when not a js file, skip it

would not trow a error now