added javascript to prevent repeat or blank new villages