refactors live comments on client side