fix obvious git typo in JS