Partial now returns documentElement to give expected innerHTML