Added per-widget config and override.
Can now add script NOT wrapped in a self-executing function which
is useful for creating widgets of external JS libs that try to declare
global scope variable with "var".
v1.0.16