now creates upload field via js