fixed JSGF semicolon bug