remove thrash
order.js refactoring