Tie API & JS