A dynamic quiz using Javascript