no need to declare these as `var foo = function() {}...`

just declare them as `function foo( ... ) { ... }`