Removed console.log to prevent IE breaking