change css js name and finish the preview text part