js libs generated before npm publish instead of during npm install