refs #822 - avoid JS error