cleaned up sketch_tri.js