Create http-collect.js