better loading for jquery over ajax