Updating the javascript for the payments page to support filtering the grid based on payments periods