fix: return exit code

Fix JSHint warnings
Closes #3