f + tab
This creates an anonymous function, which is great when using jQuery or many other JS libraries out there. I tweaked mine to remove the semi-colon at the end.
If you type out the name of your function, then immediately hit Shift + Return, TextMate will convert it into a function.
Construct a function with tab stops.