Bullring is a ruby gem for safely running untrusted Javascript code.