[js] Fix some spell/typo