fixing heroku ajax bug 3