Use DOM in import/convert pages.
Remove obsolete search formatting functions.