fix ajax loader on download button