TRIPLE JS LIKE A VERSION