Resolved #28, works in js, but typescript this insertion on arrow functions blocks using 'this' scoped to a function