Store DOM selectors where safe

More optimizations could still be done, but without being able to see where the function calls are being made, I assumed a worst-case scenario which could require fresh selectors for content that was created dynamically or loaded via XHR.