Right this makes sense, I wonder if it would then be a good idea to abstract html to JSON, making it impossible to include css and js into it
One challenge is you do likely want JS to process/capture the data - for example, taking the data from a form and turning it into json to send back to the agent