Would you like to add this to KES? You can use KES' propagation feature to ensure it applies to comments loaded in on the fly when infinite scrolling is enabled without needing to worry about page load events.
May I also suggest something more idiomatic like the below?