Add js test.
Fix acceptance test.