Clip the trailing slash. Closes #754
Merge branch 'mb-pages' of github.com:mapbox/mapbox.js into mb-pages