updating filename for html5 image