A straight up silly amount of code for an ajax loader.