Changing default pager template. Adding Modernizr. Cleaning up JS