Rewrite deploy.js with npm module ftp-deploy