Moved Jquery out and made Dom Changes reactive in Trivia.