create a utility method in BaseService call validateHtml5 which returns a Promise