I didn't notice this until now, but you're requiring in this file.  I'm surprised require didn't yell at you for having a circular dependency.  I fixed this in my knockout branch.