re-implement sandbox

I just migrated from Jasmine-jquery and had used the sandbox feature quite a bit.  Here is my re-implementation.