fix encode value
Update $.ajax callback