adding ajax post function to send resulting target assertions