Converting to three-lg.js