1. `var foo = function` is not the same as `function foo`
2. why would we prefer anonymous functions over named functions?
3. https://github.com/xtuple/xtuple/wiki/xTuple-Javascript-Coding-Standards