view pages with js done