How to preserve JS during pagination/deletion

Resolved