Revert TypeScript project in favour of pure Javascript