a .gitignore-compatible file globber for javascript