DRYing up datatables coffeescript