WIP Bug 964151 - Running download-manager.js on node.js