adding jquery different versions and view modification for pagination