revert window.self, hadn't thought of the worker case - annoying though