Removed logging which would cause issues on IE9