Sequencr.js lets you chain functions together, or execute loops, punctuated by timeouts or promises.
Please check out the project page if you haven't already:
http://jsideris.github.io/Sequencr.js/
Or head straight to the project wiki for more information, and usage.
https://github.com/JSideris/Sequencr.js/wiki
Here's a video tutorial to get you started. Don't forget to subscribe!