Sample JavaScript code for Tableau Server Trusted Tickets