toknot.js optimization