added js funsction to send user responses to the database. quiz servlet now implements the doPost method to check answers