Updated documentation for js adapter