This is the mirror image of #2170.

### Checklists

<!-- Note on checklists:
     If you think some of these steps are not necessary for your PR,
     just remove those checkboxes, or mark them as checked. Otherwise,
     if some checkboxes are left unmarked, we might assume that your PR
     is not ready to be merged and we might keep you waiting -->

- [x] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry
- [x] Add / update tests
- [x] Add new / update outdated documentation

Add `default_converter` argument to `to_js` and `toJs`. This is the mirror image of #2170.

### Checklists

<!-- Note on checklists:
     If you think some of these steps are not necessary for your PR,
     just remove those checkboxes, or mark them as checked. Otherwise,
     if some checkboxes are left unmarked, we might assume that your PR
     is not ready to be merged and we might keep you waiting -->

- [x] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry
- [x] Add / update tests
- [x] Add new / update outdated documentation

package:
  name: logbook
  version: 1.5.3

source:
  url: https://files.pythonhosted.org/packages/2f/d9/16ac346f7c0102835814cc9e5b684aaadea101560bb932a2403bd26b2320/Logbook-1.5.3.tar.gz
  sha256: 66f454ada0f56eae43066f604a222b09893f98c1adc18df169710761b8f32fe8

requirements:
  run:
    - distutils
    - setuptools

build:
  script: |
    python -c 'from Cython.Build.Cythonize import main; main(["./logbook/_speedups.pyx"])'

test:
  imports:
    - logbook

package:
  name: logbook
  version: 1.5.3

source:
  url: https://files.pythonhosted.org/packages/2f/d9/16ac346f7c0102835814cc9e5b684aaadea101560bb932a2403bd26b2320/Logbook-1.5.3.tar.gz
  sha256: 66f454ada0f56eae43066f604a222b09893f98c1adc18df169710761b8f32fe8

requirements:
  run:
    - distutils
    - setuptools

build:
  script: |
    python -c 'from Cython.Build.Cythonize import main; main(["./logbook/_speedups.pyx"])'

test:
  imports:
    - logbook
