Fixed js for ticketing except updating ord_yard_counter once ticketed...  need to fix