prepare for TeaJS integration