JSHint rule fix

+ for-in now checking hasOwnProperty