ajax way to place order