Added ImgEditor control (js part).