Aparrently Chrome doesn't like hasOwnProperty being called while cached from a variable