Queue JS is a simple library which can call your methods in a order you specify.