edit html script tag path for poly2tri