make ttfautohint optional from js