Added is_fatal_modal_present.
Modified select_text to use an async call.
Use jQuery to get scrollTop and scrollLeft.

jQuery takes care of variations in the IE lineage.