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