solve javascript CommentButtonRelations, add logging subsystem