Remove script from paginator