Clean up index.js

Add missing semicolons, change `argv["log"]` to dot notation, and remove unused variable `csv`.
Merge pull request #5 from christianbundy/master

Clean up index.js