Restored compatibility with IE <= 8 by undoing change done in 8e760c