Regexp-based implementation of _remove_script_text()
Rename _remove_script_text() to _remove_auxiliary_element_text() because it better matches what the subroutine actually does
Formatting