Implemented paging with PagerFanta, including caching of REST API. Various refactoring of JQuery.