Minor fix

- Avoids rewriting JavaScript files (assumed to always be code)
- Does not change how JSON is handled (assumed to be paths)
- Fixes #111