Merge pull request #5 from mcandre/master

Cleaned up with JSHint
improved Windows compatibility for 'npm test'