I left a job which paid in the 95+ percentile of my area for one that paid right about the median wage (maybe a little less). My reason: I like to own the software I write. We had an influx of people on our team who began to rewrite sections of stuff I wrote a long time ago for no real reason. Basically, some of them didn't like promise chains and decided to rewrite every one they encountered. Things finally bubbled…
I would've changed your code from promise chains to await statements (after warning you, of course) because they just look awful. And I would then have expected you to buy me a beer for getting rid of all that ugly code.
Sounds like parent didn't have a reasonable structure in place to generate consensus amongst the org about stylistic preferences vs tech debt, and where developer priorities should lie.
There's some ego in both of your comments as well. Async is nicer looking that promise chains, but there risk in changing working code, no? Growing with an org means letting go of your old code but joining an org requires empathy and understanding for the old timers and their code babies as well!