A practical lightweight library based on aspect orientation provides expressive and extensible access control for JavaScript.