Use the preferred function syntax throughout.

@doomspork this should clear things up.

@paultannenbaum please have a look. This is cleans up use of functions throughout the styleguide.