Issue #2300449 by Mile23, michaellenahan: Improve the documentation for js_example javascript weights implementation.