API for data pushed to heroku, updated ajax url params