I suggest investigating
as a free cross conversion tool.
AI2 does have some JavaScript support.
See FAQ Section: JavaScript Stunts
for examples.
Here is a sample of SVG in an AI2 WebViewer:

webviewer_SVG.aia (3.7 KB)

P.S. This is not for the faint of heart.


