Fix embed widget code to use currentState.roomName