Fix JS example generator to not allow multiple concurrent generations
Change default JS example implementation back to plain for now