corrected typo which leads to a "comma expression"
fixed typo "unterminated statement"
fixed formatting