Rewrite and add deploy.sh
Merge branch 'v1' of github.com:mapbox/mapbox.js into v1