defineProperty on window to namespace myModule