added javascript to check for character limit on questions before sending data to API.