r.js and deploy.sh now working