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