update cmagic.js, add ImageFromDataUri class.