cleanup pl_trivia.js