This is actually the correct spacing: https://github.com/Wikia/guidelines/blob/master/JavaScript/CodingConventions.md#functions.  JSLint whitespace rules (which are the ones we follow) separate the function keyword from the invoking parens in order to distinguish between function names and the function keyword. I.e. myFunc() and function ()