fixed ajax response to correctly display the string the servlet received (and sent back to front end)