Corrected some typos in JS post