use closure var in sequence controls to ease jquery integration