integrated threeJS into client side code