// Browser-only script. Safe because it's loaded via