Finished migration to TypeScript.
Added compiled script.