Fix the cell reference in views

This solution is kludgy, but it does fix what broke when we tried to take the cell references out of views.
Fix a reference to widget_manager, now that widget_manager is not an attribute of a view.
Fix references to widget_registry, and fix the references to javascript models.