Polyfill for measuring First Contentful Paint (FCP) in the browsers that does not support paint timing API.