I have tried preloading my website with an HTML window.load function which worked well in localhost but when I\'m trying to deploy the same code in Heroku.. it doesn\'t load