Staq API Javascript Client