Nicer function declaration

You told me that you'd prefer function [name] (params) over var [name] = function (params) so that's what I did.