twit test js