adding in threejs support