Is this how you define a function in jQuery?
$(document).ready( function () { var MyBlah = function($blah) { alert($blah); }; });
Now