requirejs implemented, typescript set to generate amd modules