The issue related to alert that are not was displayed was fixed, commented the lines where the html elelement was changed