```js
function onlyJsFiles(path, stat) {
```