JavaScript API documentation generator