js-testing

This branch is created to hold all tests for visualizer's javascripts. It is currently diff'ed with visualizer-dev, 
after visualizer-dev is merged into motion-view-dev, I will create another PR to move it there too
@chrisdembia  It is simply a unit test framework, where we can check that after function calls, whether appropriate javascript variables are defined, and have the desired values or not.
In this sample unit test, I am simply checking whether DynamicsVisualizer variable is defined, after the javascripts are loaded(this is most trivial test though, in this situation).