Create aggregation.js