[ISSUE-2] Pagination and more javascript