Add a window.setTimeout function to delay from 500ms the download