Adding dynamic chat widget parameters (baseURL and port given through URL)

Makes it easier to adjust the widget to connect to different chat instances