Fixing vhost removal JS validation error