javascript grid pager control