Create javascript API docs