Polyfill for the HTML5 <progress> element