Added function to monitor download, like Primefaces.monitorDownload