stupid dynamic typing

javascript wasn't smart enough to recognize row.w/l/t as ints, not strings.
Merge pull request #123 from Antar1011/master

stupid dynamic typing