Change function createObjectURL