Revert "moved factory functions under a new header by that name (#4921)" (#5025)
Revert "moved factory functions under a new header by that name (#4921)" (#5025)

This reverts commit 9ad6e902477c8a049480e6ee035e9a2d43ada1df.
mdn/browser-compat-data,chrisdavidmills/browser-compat-data,mdn/browser-compat-data,chrisdavidmills/browser-compat-data