change the loading time for jquery in timeout function so that it works on heroku