client.Logger: check for prefs on js load, not first log line