proper javascript `Error` usage
tweak cometd reconnect params