fix for old documentation redirects. doesnt break links on new versions

In the mapbox js api docs the redirect for older versions is broken (https://github.com/mapbox/mapbox.js/issues/883). this fixes that.