docs(js): Adds docs for more JS functions, improves docs for elgg.echo
Merge pull request #7257 from mrclay/js_docs

docs(js): Adds docs for more JS functions, improves docs for elgg.echo