remove IDE specific item from gitignore
make stylistic changes based on maintainer's feedback to pull request #1

- remove extraneous console.log()
- remove extra `\n` in output
- change tabs to spaces