[js] weird three js stuff