js-escapes: Add “treat as JavaScript string body” checkbox

This has always been the default behavior, but now it can be disabled as needed.