1. change setInterval binding
2. remove printTicket function
3. try catch body JSON.parse