Fix editor refresh for new cm
Added bas64 encoder wrom webtoolkit, btoa does not handle utf8