fixing analytics.utils.extend functionality to match underscores, undefined object should be skipped not break the extend