beautify three.js