stream gen and main.js are annotated.