added trigger post-update in pager.js, cleaned up some formatting.