that's kinda funny since that's basically exactly how firefox does it with the chrome of the browser being javascript and html and css itself.