Rewrite with new API

caveat: urls for widgets are absolute