Fixing some JS typos