Hi Pavan,
See: https://community.mendix.com/link/questions/102877
and https://docs.mendix.com/howto/extensibility/best-practices-javascript-actions#2-2-6-using-external-dependencies-in-the-browser
Cheers, Andries