finished ticketto.js