fixed issue with refresh

$.post success function is (data, textStatus, dataType)