Update javascript doc page with configuration examples.
Merge.