changes name ajax url to work with heroku