a simple javascript quiz