We should use the oae.api.util.generateId function to generate this random identifier. Also, we should only append it when the picture has changed. In that case, the appending should happen in the js code and not here