AutoCurry in JS part 2

Typos fixed.