Fixed errors in JsApi documentation and prepared for asciidoc (work in process)