Allows you to queue your tasks with a little help from jQuery.