wrapped api/fnAddTr within a requireJS module