added jsTestDriver config and example test, prototyped Rational()