Removed console.log to avoid old IE issues