Upload is working as expected, but not for new theme.
Fixed upload bug with js overwritten.