Updates to result.js