updated function declaration spacing throughout to be consistent with the provided guidelines on function declaration
Merge pull request #28 from Wikia/js-function-declaration-consistency

Function declaration consistency