Thank god it's written in JavaScript. I might have skipped it if it were zig or something.