allow to pass in a containerElement option to insert the widget into that element