Remove AMD/whatever garbage and make `var`s legible