Converts restdoc-renderer to an AMD-aware module