javascript: NPM package README.md example fixed