added changes for three.js display