If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Remove special handling of form submission
The download submit button never needs special handling, and the
upload button is already being disabled when require, elsewhere.
relevant lines covered
hits per line