removed unused stuff from addOrder js