Removed console.log statement and grabbedd correct div height