filter out any non js files