Moved dataURItoBlob from imgedit_main.js to imgedit_functions.js