fix: allow processing non-js files

Fixes #15
Closes #18

Closes #19