fix JS typo