Javascript unit tests.