[jstest]: Minor changes. Started work on an improved js interface.