Added support for compiling typescript on the fly