2 views function correctly

Ajax request of js view of each page