Made two.js loop and working on five.js