Completed exercise http_collect.js