Add TODOs and some comments to orders.js.coffee