How can you make a quiz competition in javascript