A module for sequencing tasks and dependencies in the browser