cleanup the paginate js
Merge branch 'master' of https://github.com/GeoNode/geonode