wayward curly brace in createPeerConnection