Update list_children.js.erb

Implemented Truncate method ,which displays only part of the string if the string length is too long.