I am sure I changed nothing else. To recover I just deactivated plugin, restored plugin folder from a backup, activated, cleared caches and everything back to normal.
You were absolutely right. Though I don’t have other optimizations enabled, my pricing table plugin was doing that for some reason in a function called prevent_rocket_loader_script. I have tweaked the plugin so it does not do that and will report it to them.