IE8 compatibility - just needed hasOwnProperty fixes