Merge pull request #8 from CharlesGust/typo

fix obvious git typo in JS