Add javascript for test.