Properly use the module pattern, that way Karma behaves well.