Move dom fallbacks to shims.coffee.