jshint index.js and fix test of PWD on OS X
release v0.1.7