added js to the results partials