if `relPath` used this line would be like:
```
jspath = relPath ? path.relative(relPath, jsfiles[0]) : jsfiles[0];
```