remove pleaseWait part, and moved document.ready down in the bottom