Converted metahub to Typescript.
Overwrote old js with new typescript js.