oops.  if esri.urlToObject(document.location.href).query evals to nothing, then the init breaks.  fixed that...