complete rewrite of widgets. see widgets.js for more info
Merge branch 'master' of https://github.com/Fumler/www-p2

Conflicts:
	js/pages.js