js style changed spatial, error handler edded to warn about elastic connection lost