tomdoc for js