Update html5 encoding script