Split out SJCL into the components we need.
Use the Google Caja sanitizer.
Mark unsafe functions.
Make file deletion more robust.