The following is a membrane implementation that satisfies the formal property of unavoidable transitive interposition. The implementation preserves the boundary between the two "wet" and "dry" sides.
More @ http://wiki.ecmascript.org/doku.php?id=harmony:proxies
It works on nidium browser.