a draggable html editor using Javascript