Adding jsTestDriver to build.xml, minor changes to Matrix.js