fixed ajax urls and changed failed ajax logging