Delay success event until after input value has been set

Not sure if this is intended behaviour, but shouldn't the success event fire after the `input.previousSibling.value = id;` line? That way I can access the newly uploaded file upon `upload:success`. Or am I supposed to do that in some other way?