Patch signals: Explicitly use window instead of 'this' as the browserify wrapper doesn't set 'this' to window.