Revert PR #5173 to restore JS functionality to IE 9.