Fixes JS typo