Removed window.ErrorLogger dependency