refs #835 - use JSON flag to indicate the result is a window, and don't
use server rendering