add results js for traitify