You mean a function declaration?  i.e.

```javascript
function success() {}
```

I could but I tend to prefer function expressions myself since they are more versatile and oftentimes safer.

http://javascriptweblog.wordpress.com/2010/07/06/function-declarations-vs-function-expressions/