Handle case where State is undefined (issue #52).
Handle case where State is undefined (issue #52).

* routes/index.js: Set state to empty string if necessary.
  This follows up to commit 85850ec81 and fixes issue #52.

OpenTechStrategies/smoke-alarm-portal,OpenTechStrategies/smoke-alarm-portal,OpenTechStrategies/smoke-alarm-portal,OpenTechStrategies/smoke-alarm-portal