Fix Ajax loader for Heroku