workerboxjs
A secure sandbox to execute untrusted user JavaScript, in a web browser, without any risk to your own domain/site/page.
jailed
execute untrusted code with custom permissions
websandbox
A sandbox library for runnung javascript inside HTML5 sandboxed iframe