I think the problem is coming from the eval function. The browser is blocking it due to the CSP concerns. What alternative do I have over the Eval function.