changes to ticket js