Custom control changed to a div in the html