Fixes #7457 by removing console.log that was bricking IE9.