cleaned up satellite ajax code