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)