No need to sniff for window, just use self. Rebuild es6-shim