httpscripting: adapt to the new document layout
faqparse: improve the layout