Moved save image to cloud to cloud.js instead of data_object