stupid dynamic typing

javascript wasn't smart enough to recognize row.w/l/t as ints, not strings.