Performance Tuning for Multiple Pages

Performance Tuning for Multiple Pages

Let say I have three jqm pages, page1.html, page2.html, page3.html. I have specific and generic js that I want to execute on all three (before page create). What is the best performing method to do so?
1. I could just have one big pagebeforecreate function:
$('div').live('pagebeforecreate',function(event){ generic js
page1 js
page2 js
page3 js
});
2. I could do three specific pagebeforecreates:
$('#page1').live('pagebeforecreate',function(event){ generic js
page1 js
});
$('#page2').live('pagebeforecreate',function(event){ generic js
page2 js
});
$('#page3').live('pagebeforecreate',function(event){ generic js
page3 js
});
3. or I could do some combo of the two, with a generic pagebeforecreate for the generic js and then three specific ones. 

Does anyone have any thoughts or ideas on what the best performing method would be?