Adding JS API docs to embed README