Replace deprecated application/javascript with text/javascript in :mod:`mimetypes`. See RFC 9239. Patch by Noam Cohen.