Self-host tweaks; JS logging cleanup