you need more than javascript here. you’ll need a database or disk to buffer the information before sending.
Inexpensive Web HostingAffordable Cheap Web Hosting