#701982 by mcpuddin: support fragments in reload_url. Also, an unrelated change moving js settings back to hook_init.