SSP-1767 Allow version information to degrade gracefully

This is a cherry-pick of the commit originally attached to pull
request #192, with very minor tweaks to adjust JS equality tests on
the 'toggle' var.