fix some syntax

you can export stuff in node with either `module.exports = blah` or several `exports.something = something`. When your exporting an object literal the latter syntax is better as it can deal with circular dependencies, this pull fixes some of the `module.exports = {}`