fix TypeMismatchError in Chrome Stable

fixes TypeMismatchError: The type of an object was incompatible with the
expected type of the parameter associated to the object. when turnServer
is empty.