Lightweight Self-Protecting JavaScript
Safe Wrappers and Sane Policies for Self Protecting JavaScript