inlineScripts now uses html text and regex, not cheerio api

- Should fix --inline
- Caveat: Make sure use of document.write is escaped