minor fixes

* Update deps in package.json
* fix .replace