Clean up widget creator javascript

Pulled configurable elements into a config.json file, put all on-page
javascript into an external file, and somewhat modularized the functions
specific to this page.
Add first very simple stylesheet to widget creator