Thinking how to integrate three js