adjust template view

Changes Jquery-Ui dependence on main template view