a small js ast to use as a compilation target rather than full-on js