Add js hook for comment add and delete