Perfected the Ajax on Store index