refixed js typo