removed tri.js