Ajax html return bug fix