Added tab javascript for ticket details