updated entries.js to update after paging