Add objects RectView and TextView into views.js