minor style improvements

This PR adapts the module to [bitcore's style guide](https://github.com/bitpay/bitcore/blob/v0.8/CONTRIBUTING.md#style-guidelines)
+1.  I totally forgot about this, despite intending to use it initially.