added js to test.