Load scripts in a sandbox to avoid polluting the global namespace.