Update trivia.js

Works now