Js testing

This branch is setup to write the tests for the Javascript modules incoroporated in DynamicsVisualizer