a Javascript quiz application example