Update library to confirm to the node style guide

This commit updates the libary to conform to the node style guide
defined by felixge/node-style-guide.

https://github.com/felixge/node-style-guide