JQuery Function User Override

function helloWorld (argument) {
	alert(argument);
}
/*Now, if you want to override this function then*/
var origHelloWorld = window.helloWorld;
window.helloWorld = function(argument) {
    	//your code
    	origHelloWorld(argument); 	// after your code if you want to call original function 
}
RedlifeBIG