fix(js): fixed typo in previous commit