Added js file for tests.