Write simple prototype in JS
Write simple prototype in JS

Couldn't get serde to work with recursive `Diagnostic`, so I pushed that
out in JS instead. Code structure should work pretty much the same in
Rust.

oli-obk/rustfix