results.js cleaning