Yup, I'd be the Philosopher King in Plato's Republic. First thing I'd do is ban JavaScript programming.
Such a capriciously specific command makes it sound like you'd be more of a run-of-the-mill tyrant à la Creon.
His dispute with Antigone is about law vs personal/religious ethics, not about him being a capricious tyrant (besides in the end he relents). Her brother was a traitor.
Now there's a statement. The "good of city" is itself a moral concern.
So, "good of the city" as in "doing what the city deems good", not as in moral.
Beware: Those lacking a sense of humour will be sentenced to impalement.
Besides, I'm not like Creon. Creon was into Delphi, and I'm not into Pascal.