reestablished testing and documentation for js