introduce jsAstFor so MightTable can generate code for specific nodes