While I think stuff like Google Docs is practically magic, I agree. I think it'd be a net positive if it wasn't possible to do stuff like that on a browser.
Sometimes I wonder how things would have turned out if Java plugins hadn't been security Swiss cheese.
There's no reason why applets couldn't have been sandboxed as much as any browser scripting. If they had taken the role JS now occupies, we might have seen that development.