Change location of tests for JavaScript lib code

The test suites now live under test/javascript_tests/ for consistency
and to avoid re-distributing these files with every emperor
visualization.

index.html was updated to reflect this new structure.