*Note: Re-writing question:
I am trying to write the following outside of the individual function calls:
example:
function f1(){
you can use the jquery Callbacks function, from v1.7up
var callbacks = $.Callbacks(); callbacks.add( firstFunction ); callbacks.add( secondFunction ); callbacks.fire( );