Painfully add requirejs and typescript amd modules