In your code in the case of commas you have "authors.length <3" for deceding whether it is good RIS (and simply return it) or if it is bad RIS and should better be treated as a list of authors. But isn't there an optional third parameter (suffix) in the author fields? E.g.

	AU - Phillips, A.J., Sr.

I guess that there are only a handful of practicable useful suffixes. Is there a list of these suffixes somewhere? Then it should be possible to treat this case also savely.