JavaScript regeneration!