Does this belong in general JS for all pages?