fixed the display js setting