added in heart value in results.js, indexing in results.js