Rewrite of WRATH in TypeScript / Require / Grunt