Couple things: 1) Not sure what good adding || {} does since if window.Wikia.Tracker is undefined, the next line will throw an error either way.  2) I think I'd rather wrap this whole file in AMD and use require( 'wikia.tracker' ... ).  This JS was written just prior to us adopting AMD so it should be updated anyway.