Adding X3D objects to HTML with Javascript.