Change spawn to exec to get nice output from git
Fix jshint warnings.
Add command line arguments