Replace uuid object with window.URL.createObjectURL