reformat
add support for both http: and https: protocols
add script loading capabilities to the widget