Updates the JavaScript for A12 in order to include tags that are not in the body of the loaded HTML page.