Three JS to receive information from sever and render 3D figures