Hi Barath,I am not able to do a code review, but one thing to check is
the timing of the code delivery. When delivered to the page through the
mbox, the code is probably loading at the top of the page and depending
on which library you are using it might be before or after
DOMContentLoaded. And in production, it might execute slightly
differently from within the VEC. So, i would use additional console.log
statements to see if things are actually firing when you think. For
example, i see you are ...