Debugging results.js script to properly track answer arrays