Waiting for ajax fixed