This would add tests, but this is why I prefer Karam and (now) Jasmine + jQuery.  It's just not fun debugging why tests don't run in a console.