A javascript based quiz system