Made ajax preloader php and pass in preloadbaseurl