For instance, when you select Australia and than Belgium everything seems to be fine but when you scroll down in the second view, it shows the provinces of Australia too.
The function dataview() is incorrect. You are create the new “province” dataview each time the country is selected. The previous dataview is not removed. You just append the new dataview to the province_container div.
The correct approach is to create “province” dataview once. And call only clearAll() and load methods when the new country is selected.