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