Fix parsing `\'` escapes in WebUI response scripts.

Closes #17.