Use setImmediate if available.
Merge branch 'dev' of github.com:mapbox/carmen into dev