Integrated writeDom function to on.note. There is a xss vulnerability in this version when posting.