Widget require.js fix

The WidgetManager namespace is passed around instead of a
widget_manager instance...