Fix js bindings for upload modal (props @themeblvd)