Add file-issue.js

Closes #4.