adding richtext js