I see.

It's probably just a matter of aesthetics but for me a function that is not located inside of an object and has `this` inside is just not valid. 

So personally, I'd be for putting it inside of the model, even though it might mean that the model will no longer be that clean.