Lua Script Separation

In WebX multiple scripts don’t share things like variables, this may cause some issues for sharing values.
In the v2 API you can use the global table to share values between scripts.