also pass alt text to formatter
use shared formatText function
use shared formatText function
adjust indentation
define format function separately
lookup prefs only once
remove unnecessary use of temporary variable
add comments and spaces
successively replace on alt text
chain replace calls
reuse qMark variable
define clipboard var once
define pageMod var once
define script snippets once in THT module
clarify tracking removal code