Make it so the order of resetting collections on page load doesn't matter.

Made a function that returns a function such that every time it is executed,
it counts up one. If the count reaches a set value, then the next time it is executed
it renders all the views.