Consistent space after function keyword

It looks like half the functions have a space before the brace and half don't. I just went through and made it consistent. The Monokai theme for Sublime highlights better if there's a space but it's up to you which style you prefer :)