I suggest that such creating a proper permission model isn't possible, because it isn't possible to determine the behavior of Turing complete programs without running them[1]. Browsers are currently chasing the impossible[2] goal of trying to enumerate badness - often only the known types of badness that fit their permission model.
> I want a simple, limited, fast, secure, document-centric platform
We had that: HTML, before Javascript. Allowing any Turing complete code to run at all will always be risky[3].
[1] halting problem
[2] http://www.ranum.com/security/computer_security/editorials/d...