fixing bugs after removing grunt-cli dependency
building node module / commonjs