anchor.diff:    if xstrlen(fkp.dpContext) > 0 then
     begin
       FIndent := FTabStops+FTabStop;
  +    FCloseBrace := True;
       Result := Result + Format('%s%sif(%s){%s', [
         FTabStops,
         FElse,
  
positive.code:   else if FElse <> '' then
    begin
      FIndent := FTabStops+FTabStop;
      Result := Result + Format('%s%s{%s', [
        FTabStops,
        FElse,
  
negative.code:   else
    begin
      FIndent := FTabStops;
      FCloseBrace := False;
    end;
  
    if(fgp.fUsingKeys)                                                                                        // I1959
      then Result := Result + Format('%sr=m=1;%s%s', [FIndent,linecomment,JavaScript_OutputString(FIndent, fkp, fkp.dpOutput, fgp)])    // I1959   // I3681
      else Result := Result + Format('%sm=1;%s%s', [FIndent,linecomment,JavaScript_OutputString(FIndent, fkp, fkp.dpOutput, fgp)]);    // I1959   // I3681
    if not FCloseBrace
      then Result := Result + nl
      else Result := Result + Format('%s%s}%s', [nl, FTabStops, nl]);   // I3681
  end;
  
  function TCompileKeymanWeb.JavaScript_Rules(fgp: PFILE_GROUP): string;
  