Setup JS controller and views