"It would be interesting for browsers to implement an HTTP bytecode vm, and web pages are made in the usual way but compiled to a single binary blob, which is then downloaded to browser and run in the vm" - that's essentially how Opera Mini works - Opera run a big farm of proxies which load pages, recompile them in to a binary blob and serve that down to Opera Mini running on a phone to be rendered.