JWST would still have been an extremely novel and therefore expensive on Spaceship. We just don't build anything that uses that kind of sun shield or those sensors etc and everything needs to work on one shot, thus serious engineering effort.
Launching JWST on Starship would still be incredibly expensive because JWST is at the Lagrange point on the other side of the moon and 1 starship needs like 30 other starships to fuel it to get there