anticipate missing element
anticipate missing element

Looks like just after page reload we might have empty or nearly empty
DOM already. And this code will try to access the element and will
fail.

Change-Id: If9f5d772fe9951af322dfa29067b6c9a16b27f39
Reviewed-on: http://review.northscale.com/1674
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

daverigby/ns_server,ceejatec/ns_server,daverigby/ns_server,membase/ns_server,mschoch/ns_server,daverigby/ns_server,membase/ns_server,mschoch/ns_server,mschoch/ns_server,daverigby/ns_server,ceejatec/ns_server,membase/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,daverigby/ns_server,nimishzynga/ns_server,ceejatec/ns_server,ceejatec/ns_server,mschoch/ns_server,membase/ns_server,vzasade/ns_server,nimishzynga/ns_server,membase/ns_server,vzasade/ns_server,ceejatec/ns_server,vzasade/ns_server,mschoch/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,membase/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,vzasade/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,pavel-blagodov/ns_server