Initialized _advertJSON, removed debug code