remove the paginate.js in layer detail