Typo in comment, and optional semicolon in JS