Javascript utility function that notifies when requested fonts are loaded and rendered.