running npm install before build
cleaning up comments and console output