code style improvements, consistency, and cleanup
Merge pull request #29 from sindresorhus/codestyle

code style improvements, consistency, and cleanup