Update script.js to call showFinal()