updating read-well to new code mirror based implementation