Better ajax loading for stats pages