Adding fixes and renaming the npm package.