template.add_2.js improve finished. update cmagic.js, add ImageFromDataUri class.