Handle "hasOwnProperty" as a global variable
Merge pull request #1684 from JonathanGawrych/hasOwnProperty

Handle "hasOwnProperty" as a global variable