Adding JS to generator, massive updates everywhere