A simple quiz application in Javascript