fix build scripts; add "npm install"