Also added few missing |hasOwnProperty| calls that JSHint didn't detect because it only looks whether there is an |if| statement wrapping the loop body.
This currently outputs many issues. These will be fixed in subsequent commits.