a minor improvement to loglan.js converter