style(everything): use parentheses next to a function name and a space before braces

AngularJS style guide and Google JavaScript style guide uses `function() {` and `function name() {`, not `function (){` and `function name(){` style.