Release version 0.4.0 of the npm package.