javascript: NPM package readme examples fixed