WIP Update vanilla JS transpiler to use static types