filters out none-js files from vendor.js