Port of the PureMVC AsyncCommand in javascript for node.js