TypeScript with RequireJS module dependency solutions