fix ajax + escapin & console logs