Update install.js

Update path.existsSync to fs.existsSync and path.exists to fs.exists