reddit: Move js_config to pages.py.