Added hasOwnProperty on for loop(s) :)