Remove window.define