Add xhr polling for heroku