Add tomdoc for javascript.