move shims back into exportable.js
reference `root` rather than `window`