a little search & replace script to fix the final HTML