Ajax Functions needed for Aggregation, forgot to upload them this afternoon :$