sample quiz JavaScript application