this donate js should be in a document.ready