jsbox sandbox scope refactoring

and example improvements
v3.2.0