Minor change

Expand the <div> to be update, so that pagination will disappear on the updated <div>
Significantly improve performance

By removing the second loop, the server's response time has been reduced by 95%
Significantly improve performance

By removing the second loop, the server's response time has been reduced by 33%