fix table of content js,support chinese text