Fix TypeScriptCompile.prepend/JsappendJs

Fixes #3