add npm dependencies for js toolchains.