-- fix tests for JS.