remove window.hasOwnProperty for poor IE