I don't really like this way of calling the function. What's wrong with the jQuery way?