added rootView in component.js