Add tests and js files.