Upload was failing with js disabled (when previewing)