Adapted to latest view hierarchy API (viewy-view "child-views" branch).
Updated view.js.