Fix delete window property in ie8