Update coffeescript usage

Added `module.exports =` in the middle