added ajax prefilter for heroku url
fixing timing for heroku