upload ace editor with gadget's new getContent API