Fix the font issue by javascript