typo
Improve web_runner

* Use a helper function in order not have to enquote every time
* Correct HTML escaping
* Fix up imports