added some js logging of data
quick fix for fetching count on every next/prev click - still performs request on first record view, client-side after that
fixed typo
removed refs to curPage
Merge pull request #1320 from SEL-Columbia/1317_count

1317 count