added ability to add custom classes to container divs for the input widget