Removing some console.log statements.
Checking for hProperties before checking for properties on it.